package com.pinda.feign;

import java.util.List;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "authorization-service", path = "/resources",url = "http://localhost:6666")
public interface ResourcesFeignClient {
    @RequestMapping("findUserByIdResource/{id}")
    List<String> findUserByIdResource(@PathVariable("id") String userId);
}
